package com.xiejr.pss.gc;

import java.util.ArrayList;
import java.util.List;

/**
 * CMS测试垃圾回收参数
 *
 * @author mobai
 * @since 2021/8/7 14:04
 */
public class CMSGCProcessTest {

    public static void main(String[] args) {
        new Thread(()->{
            while (true){
                System.out.println(System.currentTimeMillis());
            }

        }).start();
        generateInstance();
    }

    static void generateInstance() {
        List<Object> list = new ArrayList<>();
        while (true) {
            list.add(new Object());
        }
    }
}
